#ifndef ALERT_H
#define ALERT_H
#include <QDateTime>
#include <string>
#include <QDebug>

using namespace std;

class Alert{
    // Add field for recurring alerts
private:
    QDateTime alertDateTime;
    string alertName;
    string alertInfo;
    string alertID;
    string alertNameID;
    string frequency;
    bool recurring;
    bool activated;
    bool disabled;
public:
    Alert();
    Alert(int month, int day, int year, int hours, int minutes,
          string info, string name);
    void modifyAlert(int alertID);
    void deleteAlert(int alertID);

    string getname();
    string getinfo();
    string getid();
    string getnameid();
    bool getrecurring();
    string getfrequency();
    bool getactivated();
    bool getdisabled();
    QString sgetdatetime();
    QDateTime getdatetime();

    void setid(string);
    void setname(string);
    void setnameid(string);
    void setdatetime(QDateTime);
    void setdatetime(string);
    void setinfo(string);
    void setrecurring(bool);
    void setfrequency(string);
    void setactivated(bool);
    void setdisabled(bool);
    void operator=(Alert copy);
    void print();
};

#endif // ALERT_H
